From: Eric Huss Date: Thu, 5 Apr 2018 13:04:45 +0000 (-0700) Subject: Don't use .arg() in test. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~94^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=187bb0ad9ac725d2dcc803fff56d834966463c66;p=cargo.git Don't use .arg() in test. --- diff --git a/tests/testsuite/doc.rs b/tests/testsuite/doc.rs index e3ca13e92..b1ea625fc 100644 --- a/tests/testsuite/doc.rs +++ b/tests/testsuite/doc.rs @@ -1488,7 +1488,7 @@ fn doc_edition() { .build(); assert_that( - p.cargo("doc").arg("-v").masquerade_as_nightly_cargo(), + p.cargo("doc -v").masquerade_as_nightly_cargo(), execs() .with_status(0) .with_stderr_contains("[RUNNING] `rustdoc [..]-Zunstable-options --edition=2018[..]"),